home *** CD-ROM | disk | FTP | other *** search
-
-
-
- TTTTkkkk____WWWWiiiinnnnddddoooowwwwIIIIdddd((((3333)))) TTTTkkkk (((( )))) TTTTkkkk____WWWWiiiinnnnddddoooowwwwIIIIdddd((((3333))))
-
-
-
- _________________________________________________________________
-
- NNNNAAAAMMMMEEEE
- Tk_WindowId, Tk_Parent, Tk_Display, Tk_DisplayName,
- Tk_ScreenNumber, Tk_Screen, Tk_X, Tk_Y, Tk_Width, Tk_Height,
- Tk_Changes, Tk_Attributes, Tk_IsMapped, Tk_IsTopLevel,
- Tk_ReqWidth, Tk_ReqHeight, Tk_InternalBorderWidth,
- Tk_Visual, Tk_Depth, Tk_Colormap - retrieve information
- from Tk's local data structure
-
- SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
- ####iiiinnnncccclllluuuuddddeeee <<<<ttttkkkk....hhhh>>>>
-
- Window
- TTTTkkkk____WWWWiiiinnnnddddoooowwwwIIIIdddd(_t_k_w_i_n)
-
- Tk_Window
- TTTTkkkk____PPPPaaaarrrreeeennnntttt(_t_k_w_i_n)
-
- Display *
- TTTTkkkk____DDDDiiiissssppppllllaaaayyyy(_t_k_w_i_n)
-
- char *
- TTTTkkkk____DDDDiiiissssppppllllaaaayyyyNNNNaaaammmmeeee(_t_k_w_i_n)
-
- int
- TTTTkkkk____SSSSccccrrrreeeeeeeennnnNNNNuuuummmmbbbbeeeerrrr(_t_k_w_i_n)
-
- Screen *
- TTTTkkkk____SSSSccccrrrreeeeeeeennnn(_t_k_w_i_n)
-
- int
- TTTTkkkk____XXXX(_t_k_w_i_n)
-
- int
- TTTTkkkk____YYYY(_t_k_w_i_n)
-
- int
- TTTTkkkk____WWWWiiiiddddtttthhhh(_t_k_w_i_n)
-
- int
- TTTTkkkk____HHHHeeeeiiiigggghhhhtttt(_t_k_w_i_n)
-
- XWindowChanges *
- TTTTkkkk____CCCChhhhaaaannnnggggeeeessss(_t_k_w_i_n)
-
- XSetWindowAttributes *
- TTTTkkkk____AAAAttttttttrrrriiiibbbbuuuutttteeeessss(_t_k_w_i_n)
-
- int
- TTTTkkkk____IIIIssssMMMMaaaappppppppeeeedddd(_t_k_w_i_n)
-
-
-
-
- Page 1 (printed 7/23/95)
-
-
-
-
-
-
- TTTTkkkk____WWWWiiiinnnnddddoooowwwwIIIIdddd((((3333)))) TTTTkkkk (((( )))) TTTTkkkk____WWWWiiiinnnnddddoooowwwwIIIIdddd((((3333))))
-
-
-
- int |
- TTTTkkkk____IIIIssssTTTTooooppppLLLLeeeevvvveeeellll(_t_k_w_i_n) |
-
- int
- TTTTkkkk____RRRReeeeqqqqWWWWiiiiddddtttthhhh(_t_k_w_i_n)
-
- int
- TTTTkkkk____RRRReeeeqqqqHHHHeeeeiiiigggghhhhtttt(_t_k_w_i_n)
-
- int
- TTTTkkkk____IIIInnnntttteeeerrrrnnnnaaaallllBBBBoooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh(_t_k_w_i_n)
-
- Visual * |
- TTTTkkkk____VVVViiiissssuuuuaaaallll(_t_k_w_i_n) |
-
- int |
- TTTTkkkk____DDDDeeeepppptttthhhh(_t_k_w_i_n) |
-
- Colormap |
- TTTTkkkk____CCCCoooolllloooorrrrmmmmaaaapppp(_t_k_w_i_n) |
-
- AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
- Tk_Window _t_k_w_i_n (in) Token for window.
- _________________________________________________________________
-
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- TTTTkkkk____WWWWiiiinnnnddddoooowwwwIIIIDDDD and the other names listed above are all macros
- that return fields from Tk's local data structure for _t_k_w_i_n.
- None of these macros requires any interaction with the
- server; it is safe to assume that all are fast.
-
- TTTTkkkk____WWWWiiiinnnnddddoooowwwwIIIIdddd returns the X identifier for _t_k_w_i_n, or NNNNUUUULLLLLLLL if
- no X window has been created for _t_k_w_i_n yet (see the
- TTTTkkkk____CCCCrrrreeeeaaaatttteeeeMMMMaaaaiiiinnnnWWWWiiiinnnnddddoooowwww manual entry for details).
-
- TTTTkkkk____PPPPaaaarrrreeeennnntttt returns Tk's token for the logical parent of
- _t_k_w_i_n. The parent is the token that was specified when
- _t_k_w_i_n was created, or NULL for main windows.
-
- TTTTkkkk____DDDDiiiissssppppllllaaaayyyy returns a pointer to the Xlib display structure
- corresponding to _t_k_w_i_n. TTTTkkkk____DDDDiiiissssppppllllaaaayyyyNNNNaaaammmmeeee returns an ASCII
- string identifying _t_k_w_i_n's display. TTTTkkkk____SSSSccccrrrreeeeeeeennnnNNNNuuuummmmbbbbeeeerrrr returns
- the index of _t_k_w_i_n's screen among all the screens of _t_k_w_i_n's
- display. TTTTkkkk____SSSSccccrrrreeeeeeeennnn returns a pointer to the Xlib structure
- corresponding to _t_k_w_i_n's screen.
-
- TTTTkkkk____XXXX, TTTTkkkk____YYYY, TTTTkkkk____WWWWiiiiddddtttthhhh, and TTTTkkkk____HHHHeeeeiiiigggghhhhtttt return information about
- _t_k_w_i_n'_s location within its parent and its size. The
- location information refers to the upper-left pixel in the
- window, or its border if there is one. The width and height
- information refers to the interior size of the window, not
-
-
-
- Page 2 (printed 7/23/95)
-
-
-
-
-
-
- TTTTkkkk____WWWWiiiinnnnddddoooowwwwIIIIdddd((((3333)))) TTTTkkkk (((( )))) TTTTkkkk____WWWWiiiinnnnddddoooowwwwIIIIdddd((((3333))))
-
-
-
- including any border. TTTTkkkk____CCCChhhhaaaannnnggggeeeessss returns a pointer to a
- structure containing all of the above information plus a few
- other fields. TTTTkkkk____AAAAttttttttrrrriiiibbbbuuuutttteeeessss returns a pointer to an
- XSetWindowAttributes structure describing all of the
- attributes of the _t_k_w_i_n's window, such as background pixmap,
- event mask, and so on (Tk keeps track of all this
- information as it is changed by the application). Note: it
- is essential that applications use Tk procedures like
- TTTTkkkk____RRRReeeessssiiiizzzzeeeeWWWWiiiinnnnddddoooowwww instead of X procedures like XXXXRRRReeeessssiiiizzzzeeeeWWWWiiiinnnnddddoooowwww,
- so that Tk can keep its data structures up-to-date.
-
- TTTTkkkk____IIIIssssMMMMaaaappppppppeeeedddd returns a non-zero value if _t_k_w_i_n is mapped and
- zero if _t_k_w_i_n isn't mapped.
-
- TTTTkkkk____IIIIssssTTTTooooppppLLLLeeeevvvveeeellll returns a non-zero value if _t_k_w_i_n is a top- |
- level window (its X parent is the root window of the screen) |
- and zero if _t_k_w_i_n isn't a top-level window.
-
- TTTTkkkk____RRRReeeeqqqqWWWWiiiiddddtttthhhh and TTTTkkkk____RRRReeeeqqqqHHHHeeeeiiiigggghhhhtttt return information about the
- window's requested size. These values correspond to the
- last call to TTTTkkkk____GGGGeeeeoooommmmeeeettttrrrryyyyRRRReeeeqqqquuuueeeesssstttt for _t_k_w_i_n.
-
- TTTTkkkk____IIIInnnntttteeeerrrrnnnnaaaallllBBBBoooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh returns the width of internal border
- that has been requested for _t_k_w_i_n, or 0 if no internal
- border was requested. The return value is simply the last
- value passed to TTTTkkkk____SSSSeeeettttIIIInnnntttteeeerrrrnnnnaaaallllBBBBoooorrrrddddeeeerrrr for _t_k_w_i_n.
-
- TTTTkkkk____VVVViiiissssuuuuaaaallll, TTTTkkkk____DDDDeeeepppptttthhhh, and TTTTkkkk____CCCCoooolllloooorrrrmmmmaaaapppp return information |
- about the visual characteristics of a window. TTTTkkkk____VVVViiiissssuuuuaaaallll |
- returns the visual type for the window, TTTTkkkk____DDDDeeeepppptttthhhh returns the |
- number of bits per pixel, and TTTTkkkk____CCCCoooolllloooorrrrmmmmaaaapppp returns the |
- current colormap for the window. The visual characteristics |
- are normally set from the defaults for the window's screen, |
- but they may be overridden by calling TTTTkkkk____SSSSeeeettttWWWWiiiinnnnddddoooowwwwVVVViiiissssuuuuaaaallll.
-
-
- KKKKEEEEYYYYWWWWOOOORRRRDDDDSSSS
- attributes, colormap, depth, display, height, geometry
- manager, identifier, mapped, requested size, screen, top-
- level, visual, width, window, x, y
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 3 (printed 7/23/95)
-
-
-
-